import {request} from "./request";

export function order_request(query,way,pageNum,pageSize) {
    return request({
        url:'/orders',
        method:'get',
        params:{
            query,
            way,
            pageNum,
            pageSize
        }
    })
}

export function order_delete(id) {
    return request({
        url:'/order/delete/'+id,
        method:'get',

    })
}